$.fn.showPage = function(count) {
	var str = '<a href="javascript:void(0)" class="current" onclick="showToPage(this)">1</a>';
	for (var i = 2; i <= count; i ++) {
		str += '<a href="javascript:void(0)" onclick="showToPage(this)">' + i + '</a>';
	}

	var currentObj = $(this);
	currentObj.html("").append($(str));
}
